package com.xing.photo.dao;

import com.xing.photo.bean.PhotoUser;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xingzhe
 * Date: 2015/3/2
 * Time: 11:44
 */
public interface UserDao {
    public List<PhotoUser> listUsers(Integer limit);
    public int updateUser(PhotoUser user);
    public int saveUser(PhotoUser user);
    public PhotoUser getUser(int id);
    public int delUser(PhotoUser user);
}
